Real-Time Communication between MATLAB/Simulink and PLC via Process Visualization Interface
نویسنده
چکیده
This paper shows real-time implementation of control algorithms from a simulation environment into the Programmable Logic Controller (PLC). Development of control algorithms is necessary for their use in a simulation environment and verification on simulation models. The real control system should be connected to the simulation environment with a PLC to test the control algorithms on a real physical model. In this case the PLC is used only as an IO device and all computations are performed in the simulation environment – MATLAB/Simulink. This connection is ensured via a general process visualization interface, which can transmit a data via different communication protocols: Ethernet, RS232, CAN or ProfiBus. Finally, the control algorithm should be implemented into the PLC and MATLAB/Simulink can be used for monitoring of the process input, output or others parameters. All implementation steps are shown on one of advanced control algorithms – the Generalized Predictive Control. Key-Words: PLC, Real-Time, MATLAB, Simulink, Predictive Control
منابع مشابه
A Matlab/Simulink Framework for PLC Controlled Processes
Relevant literature recognises that the practical test of an automation and control process controlled by programmable logic controllers (PLC) is a well-known problem [1-3]. There are several solutions that can be implemented, such as scale models, batteries of led’s and switches and Human Machine Interfaces (HMI), Supervisory Control and Data Acquisition (SCADA) systems, or simulation tools. T...
متن کاملExtension software for real-time control system design and implementation with MATLAB-SIMULINK
The paper deals with a unified environment for the design and implementation of control schemes. The widely used MATLAB-SIMULINK is used for control scheme description. The implementation hardware is from Mitsubishi PLC. The SIMULINK library was extended with target hardware blocks. After an off-line design procedure, which can be combined with hardware-in-the-loop experiments, the control sche...
متن کاملShared Memory in RTAI Simulink for Kernel and User-space Communication at the Example of the SDH-2 - QRtaiLab For SDH-2 Matrix Visualization
At the Institute for Process Control and Robotics reactive grasping skills are developed to enhance the Multifingered SCHUNK Dextrous Hand 2 (SDH2) in order to fulfill industrial needs. Therefore, RTAI Linux and Matlab Simulink RTW are used as application development system (RTAI, 2010),(Mathworks, 2010). The exchange of data between the Multi-fingered hand and the computer system is possible b...
متن کاملMATLAB/Simulink Versus Refined Real Time Simulation of an Alternative Electrical Energy System in Dynamic Aspects
Dynamic behavior of alternative energy based Hybrid Power System (HPS) is commonly analyzed using Matlab/ Simulink. This way of simulation has the limitation in interfacing the model with hardware for real time control, which in turn limits in span of the simulation and consumes more time for simulation. Besides, simulator choice for the designed dynamic model is also constrained. Though, this ...
متن کاملImprovements of a Three-tank-system Operated in Real Time with Matlab in a Plc-profibus-network
This paper summarizes the authors efforts to establish a well working laboratory system of worthwhile character for student courses, accounting for aspects of system modelling, control theory and state of the art industrial automation. Therefore, a Three Tank System operated by a standard industry PLC and MATLAB/SIMULINK in real time has been chosen as laboratory setup. Besides an overview of t...
متن کامل